← Back to issue list

[Errno 17] File exists: 'libbsd.so.0.8.2' -> '/app/stage/lib/x86_64-linux-gnu/libbsd.so.0'

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1849092
Type
issue
State
open
Author
~winwisely99
Labels
Created
2019-10-21 10:41:47.967951+00:00
Updated
2019-10-21 10:41:47.967951+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Our project issue is here: https://github.com/go-flutter-desktop/go-flutter/issues/287 From the traceback the problems have been isolate by the team here : https://github.com/go-flutter-desktop/go-flutter/issues/287#issuecomment-544293579 trace: root@c379f3f4e639:/app# cat /tmp/tmpzolnnkgs/trace.txt Traceback (most recent call last): File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/file_utils.py", line 109, in link_or_copy link(source, destination, follow_symlinks=follow_symlinks) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/file_utils.py", line 143, in link os.link(source_path, destination, follow_symlinks=False) OSError: [Errno 5] Input/output error: '/app/parts/app/install/lib/x86_64-linux-gnu/libbsd.so.0' -> '/app/stage/lib/x86_64-linux-gnu/libbsd.so.0' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/snap/snapcraft/current/bin/snapcraft", line 11, in <module> load_entry_point('snapcraft==3.8', 'console_scripts', 'snapcraft')() File "/snap/snapcraft/current/lib/python3.5/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/snap/snapcraft/current/lib/python3.5/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/snap/snapcraft/current/lib/python3.5/site-packages/click/core.py", line 1114, in invoke return Command.invoke(self, ctx) File "/snap/snapcraft/current/lib/python3.5/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/snap/snapcraft/current/lib/python3.5/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/snap/snapcraft/current/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/cli/_runner.py", line 103, in run snap_command.invoke(ctx) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/cli/_command.py", line 87, in invoke return super().invoke(ctx) File "/snap/snapcraft/current/lib/python3.5/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/snap/snapcraft/current/lib/python3.5/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/cli/lifecycle.py", line 261, in snap _execute(steps.PRIME, parts=[], pack_project=True, output=output, **kwargs) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/cli/lifecycle.py", line 66, in _execute lifecycle.execute(step, project_config, parts) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/lifecycle/_runner.py", line 94, in execute executor.run(step, part_names) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/lifecycle/_runner.py", line 148, in run self._handle_step(part_names, part, step, current_step, cli_config) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/lifecycle/_runner.py", line 162, in _handle_step getattr(self, "_run_{}".format(current_step.name))(part) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/lifecycle/_runner.py", line 226, in _run_stage self._run_step(step=steps.STAGE, part=part, progress="Staging") File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/lifecycle/_runner.py", line 281, in _run_step getattr(part, step.name)() File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 740, in stage self._do_runner_step(steps.STAGE) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 242, in _do_runner_step return getattr(self._runner, "{}".format(step.name))() File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/_runner.py", line 84, in stage "override-stage", self._override_stage_scriptlet, self._stagedir File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/_runner.py", line 137, in _run_scriptlet scriptlet_name, function_call.strip() File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/_runner.py", line 193, in _handle_builtin_function function(**function_args) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 762, in _do_stage fixup_func=fixup_func, File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 1125, in _migrate_files file_utils.link_or_copy(src, dst, follow_symlinks=follow_symlinks) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/file_utils.py", line 117, in link_or_copy copy(source, destination, follow_symlinks=follow_symlinks) File "/snap/snapcraft/current/lib/python3.5/site-packages/snapcraft/file_utils.py", line 166, in copy shutil.copy2(source, destination, follow_symlinks=follow_symlinks) File "/snap/snapcraft/current/usr/lib/python3.5/shutil.py", line 251, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "/snap/snapcraft/current/usr/lib/python3.5/shutil.py", line 112, in copyfile os.symlink(os.readlink(src), dst) FileExistsError: [Errno 17] File exists: 'libbsd.so.0.8.2' -> '/app/stage/lib/x86_64-linux-gnu/libbsd.so.0'

Evaluation history

No evaluation history available.